home *** CD-ROM | disk | FTP | other *** search
/ CD School House 9 / CD School House 9.0 - Wayzata Technology (1994).iso / pc / games / mac / __adventureland__ / __adventure_helpers__ / dungeon_mastery_2_0 / dm_reference / card_7427.txt < prev    next >
Text File  |  1992-05-24  |  5KB  |  199 lines

  1. -- card: 7427 from stack: in
  2. -- bmap block id: 9180
  3. -- flags: 0000
  4. -- background id: 8116
  5. -- name: Wizard
  6. ----- HyperTalk script -----
  7. on closecard
  8.   if the visible of cd btn "OK" is true then send mouseup to cd btn "OK"
  9.   if the showpict of this card is false then closehelp "Magic Help"
  10. end closecard
  11.  
  12.  
  13.  
  14. -- part 9 (button)
  15. -- low flags: 80
  16. -- high flags: 0000
  17. -- rect: left=20 top=50 right=342 bottom=402
  18. -- title width / last selected line: 0
  19. -- icon id / first selected line: 0 / 0
  20. -- text alignment: 1
  21. -- font id: 0
  22. -- text size: 12
  23. -- style flags: 0
  24. -- line height: 16
  25. -- part name: Obscure 1
  26.  
  27.  
  28. -- part 5 (field)
  29. -- low flags: 81
  30. -- high flags: 2002
  31. -- rect: left=33 top=194 right=331 bottom=418
  32. -- title width / last selected line: 0
  33. -- icon id / first selected line: 0 / 0
  34. -- text alignment: 0
  35. -- font id: 21
  36. -- text size: 12
  37. -- style flags: 0
  38. -- line height: 16
  39. -- part name: Magic Help
  40.  
  41.  
  42. -- part 6 (button)
  43. -- low flags: 80
  44. -- high flags: C002
  45. -- rect: left=33 top=177 right=195 bottom=418
  46. -- title width / last selected line: 0
  47. -- icon id / first selected line: 0 / 0
  48. -- text alignment: 1
  49. -- font id: 0
  50. -- text size: 12
  51. -- style flags: 0
  52. -- line height: 16
  53. -- part name: Magic Help
  54.  
  55.  
  56. -- part 7 (button)
  57. -- low flags: 80
  58. -- high flags: 0001
  59. -- rect: left=37 top=181 right=191 bottom=47
  60. -- title width / last selected line: 0
  61. -- icon id / first selected line: 0 / 0
  62. -- text alignment: 1
  63. -- font id: 0
  64. -- text size: 12
  65. -- style flags: 0
  66. -- line height: 16
  67. -- part name: Close box
  68. ----- HyperTalk script -----
  69. on mousedown
  70.   set the hilite of me to true
  71.   set the icon of me to "closeboxstar"
  72. end mousedown
  73.  
  74. on mouseStillDown
  75.   if the mouseLoc is within the rect of me then
  76.     set the hilite of me to true
  77.     set the icon of me to "closeboxstar"
  78.   else
  79.     set the icon of me to 0
  80.     set the hilite of me to false
  81.   end if
  82. end mouseStillDown
  83.  
  84. on mouseUp
  85.   set the icon of me to 0
  86.   set the hilite of me to false
  87.   lock screen
  88.   put empty into field "cat3"
  89.   put empty into field "name3"
  90.   show card picture
  91.   hide card field "Magic Help"
  92.   hide card button "Magic Help"
  93.   hide me
  94.   show card field "Magic Index"
  95.   pop card
  96.   unlock screen with zoom close
  97. end mouseUp
  98.  
  99.  
  100.  
  101. -- part 11 (field)
  102. -- low flags: 80
  103. -- high flags: 2002
  104. -- rect: left=49 top=75 right=317 bottom=409
  105. -- title width / last selected line: 0
  106. -- icon id / first selected line: 0 / 0
  107. -- text alignment: 0
  108. -- font id: 0
  109. -- text size: 12
  110. -- style flags: 0
  111. -- line height: 16
  112. -- part name: Preferences
  113.  
  114.  
  115. -- part 8 (field)
  116. -- low flags: 01
  117. -- high flags: 0000
  118. -- rect: left=302 top=158 right=314 bottom=379
  119. -- title width / last selected line: 0
  120. -- icon id / first selected line: 0 / 0
  121. -- text alignment: 1
  122. -- font id: 21
  123. -- text size: 12
  124. -- style flags: 0
  125. -- line height: 14
  126. -- part name: Magic Index
  127. ----- HyperTalk script -----
  128. on mousedown
  129.   visual wipe left
  130.   go to card line clkln() of me
  131. end mousedown
  132.  
  133.  
  134. -- part 12 (button)
  135. -- low flags: 80
  136. -- high flags: A002
  137. -- rect: left=117 top=288 right=306 bottom=188
  138. -- title width / last selected line: 0
  139. -- icon id / first selected line: 0 / 0
  140. -- text alignment: 1
  141. -- font id: 0
  142. -- text size: 12
  143. -- style flags: 0
  144. -- line height: 16
  145. -- part name: OK
  146. ----- HyperTalk script -----
  147. on mouseUp
  148.   global hldcd,MagicMenu
  149.   lock screen
  150.   hide me
  151.   hide card field "Preferences"
  152.   set the locktext of cd field "Magic Index" to true
  153.   set the Style of cd field "Magic Index" to transparent
  154.   set the showlines of cd field "Magic Index" to false
  155.   go to hldcd
  156.   unlock screen with visual zoom close
  157.   put cd fld "Magic Index" of cd 1 of this bg into MagicMenu
  158. end mouseUp
  159.  
  160.  
  161.  
  162. -- part contents for background part 187
  163. ----- text -----
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182. -- part contents for card part 5
  183. ----- text -----
  184. This section can be used in many different ways to define the general effects of magical spells, potions, items, etc. The box beside the title space is actually a pop-up menu for general categorization 
  185. (Wizard, Priest, Potion...). You can modify this menu by selecting 
  186. ΓÇ£Preferences...ΓÇ¥ from the DM menu. The title can identify a specific level, school or sphere. DonΓÇÖt worry if fields become unaligned, itΓÇÖs temporary. Feel free to insert extra returns to make room for notes (if you can't fit your entire description on a single line).
  187.  
  188. -- part contents for card part 11
  189. ----- text -----
  190.                    Magic Reference Preferences
  191.  
  192.          Edit the category
  193.          pop-up menu...                           Categories:
  194.  
  195.  
  196. -- part contents for card part 8
  197. ----- text -----
  198. Wizard
  199. Priest